/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.team1160.beta.season2011.input.DSInput;

import edu.wpi.first.wpilibj.AnalogChannel;
import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.Joystick;

/**
 * This class readers the DS(Joystick, kicker, buttons) and outputs a InputState.
 * @author CJ
 */
public class DSInputReader {
    protected Joystick joystick;
    protected AnalogChannel potentiometer;
    protected DigitalInput kickerswitch;

    public DSInputReader(int joystickchannel, int potentiometerchannel,
            int kickerswitchchannel){
        this.joystick=new Joystick(joystickchannel);
        this.potentiometer=new AnalogChannel(potentiometerchannel);
        this.kickerswitch=new DigitalInput(kickerswitchchannel);
    }

}
